﻿/**
 * @file buttonsviewwidget.cpp
 * @author huangxb
 * @email 18228033207@163.com
 * @date 2025-04-16
 * @brief 按钮视图
 */
#include "buttonsviewwidget.h"
#include "ui_buttonsviewwidget.h"

CButtonsViewWidget::CButtonsViewWidget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::CButtonsViewWidget)
{
    SetupUI();
    InitUIData();
}

CButtonsViewWidget::~CButtonsViewWidget()
{
    delete ui;
}

void CButtonsViewWidget::SetupUI()
{
    ui->setupUi(this);
    // 模板按钮
    ui->m_templateStyle_pushButton->SetTemplateStyle(tr("Black"), ":/resources/image/template_style.png");
    ui->m_templateStyle_pushButton->setText(tr("New Project"));
    ui->m_templateStyle_pushButton->setMinimumSize(158,165);
}

void CButtonsViewWidget::InitUIData()
{

}
